package fr.mmt.gisfizz.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import lombok.Getter;
import lombok.Setter;

/**
 * Workspace. <br/>
 *
 * @author Mathieu MAST
 */
@Entity
@Table(name = "workspace")
public class Workspace extends AbstractEntity {

    @Column(name = "name")
    @Getter
    @Setter
    String name;
    @Column(name = "label")
    @Getter
    @Setter
    String label;

    @Override
    public String toString() {
        return name;
    }
}
